package ebcs.scan.common.consts;

/**
 *
 * Created by 陈宇
 *
 */
public enum ResponseCode {

    SUCCESS(0,"SUCCESS"),
    ERROR(1,"ERROR"),
    NEED_LOGIN(10,"NEED_LOGIN"),
    ILLEGAL_ARGUMENT(2,"ILLEGAL_ARGUMENT"),
    ENABLE(1,"启用"),
    NOTENABLE(2,"未启动"),
    COMPLETED(3,"已完成"),
    HAVEINHAND(2,"进行中"),
    NCO(1,"未进行"),
    END(0,"end"),
    YES(1,"是"),
    NO(2,"否"),
    EXECUTE(1,"提交"),
    BACK(2,"撤回"),
    BFP(1,"保存"),
    BFTBA(2,"待审核"),
    BPFTBA(3,"审核通过"),
    BFTBR(4,"审核驳回"),
    PD(1,"领购文件"),
    BID(2,"投标"),
    OPENTENDER(3,"开标"),
    BARGAING(4,"议价"),
    VIEWRESULT(5,"查看结果"),
    ;

    private final int code;
    private final String desc;


    ResponseCode(int code, String desc){
        this.code = code;
        this.desc = desc;
    }

    public int getCode(){
        return code;
    }
    public String getDesc(){
        return desc;
    }

}
